package com.ruoyi.wx.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author moxiu
 * @since 2021-11-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("pt_exp")
@ApiModel(value="PtExp对象", description="")
public class PtExp implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "实验id")
    @TableId(value = "exp_id", type = IdType.AUTO)
    private Long expId;

    @ApiModelProperty(value = "名称")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "内容")
    @TableField("content")
    private String content;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField("update_time")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "是否启用（1：启用；0：禁用）")
    @TableField("is_enable")
    private Boolean isEnable;

	@ApiModelProperty(value = "该实验拥有的视频数量")
	@TableField("exp_video_num")
    private Integer expVideoNum;


}
